import styled from "styled-components";

export const RightWrapper = styled.div`
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: ${props => props.theme.text.primaryColor};
    font-weight: 600;
    .btns{
        display: flex;
        box-sizing: content-box;
        align-items: center;
        .btn{
            padding: 12px 15px;
            border-radius: 22px;
            cursor: pointer;
            box-sizing: content-box;
            &:hover {
                background-color: #f5f5f5;
            }
        }
    }
    .profile{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        width: 77px;
        height: 42px;
        margin-right: 24px;
        margin-left: 12px;
        box-sizing: border-box;
        background-color: #fff;
        border-radius: 25px;
        border: 1px solid #ccc;
        color: ${props => props.theme.text.primaryColor};
        cursor: pointer;
        ${props => props.theme.mixin.boxShadow};
        .panel {
            z-index: 99;
            position: absolute;
            top: 54px;
            right: 0;
            width: 240px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 0 6px rgba(0,0,0,.2);
            color: #666;

            .top, .bottom {
                padding: 10px 0;

                .item {
                    height: 40px;
                    line-height: 40px;
                    padding: 0 16px;

                    &:hover {
                        background-color: #f5f5f5;
                    }
                }
            }

            .top {
                border-bottom: 1px solid #ddd;
            }
        }
    }
   
`